package com.web.farme.config;

import lombok.Data;

/**
 * @author : bi
 * @since : 2021年06月30日
 */
@Data
public class JdbcConfig {

    private String url;

    private String username;

    private String password;

    private Integer initialSize;

    private Integer maxActive;

    private Integer minIdle = 0;

    private Integer maxWait = 60000;

    private Boolean testOnBorrow = false;

    private Boolean testOnReturn = false;

    private Boolean testWhileIdle = true;

    private Integer timeBetweenEvictionRunsMillis = 60000;

    private Integer minEvictableIdleTimeMillis = 25200000;

    private Boolean logAbandoned = true;
}
